    <table class="bordered">
    <thead>
        <th colspan="8"><?= trans('title_page_article') ?><a style="float:right" href="<?= admincp_url() ?>article/add"><?= trans('add_more') ?></a></th>
    </thead>
    <tbody>
        <tr>
            <th class="title">#</th>
            <th class="title"><?= trans('name') ?></th>
            <th class="title"><?= trans('date_add') ?></th>
            <th class="title"><?= trans('view') ?></th>
            <th class="title"><?= trans('public') ?></th>
            <th class="title"><?= trans('avatar') ?></th>
            <th class="title" colspan="2"><?= trans('action') ?></th>
        </tr>
	</tbody>
<?php
$stt=0;
foreach($info as $item){
	$stt++;
	echo "<tr>";
		echo "<td>".$stt."</td>";
		echo "<td>".$item['art_title']."</td>";
		echo "<td>".$item['date_add']."</td>";
		echo "<td>".$item['art_view']."</td>";
		echo "<td>";
			if($item['art_check'] != 0){
				echo "<img class='active' art_id='".$item['art_id']."' src='".base_url()."public/images/icons/apply.png' style='cursor:pointer;' />";
			}else{
				echo "<img class='active' art_id='".$item['art_id']."' src='".base_url()."public/images/icons/disable.png' style='cursor:pointer;' />";	
			}
		echo "</td>";
		echo "<td>";
			if($item['art_img'] != "" && $item['art_img'] != "default.jpg"){
				echo "<img src='".base_url()."public/images/icons/apply.png' />";
			}else{
				echo "<img src='".base_url()."public/images/icons/disable.png' />";	
			}
		echo"</td>";
		echo "<td><a href=\"".base_url()."admincp/article/edit/id/".$item['art_id']."\"><img src='".base_url()."public/images/icons/edit.png' /></a></td>";
		echo "<td><a href=\"".base_url()."admincp/article/delete/id/".$item['art_id']."\" class=\"ask\"><img src='".base_url()."public/images/icons/delete.png' /></a></td>";
	echo "</tr>";
}
?>
</table>
	<div id="jquery_link" align="center">
        <?php echo $pagination;?>
    </div>